Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support user specified I2C bus. Fixes gh-11 #12

Merged
merged 1 commit into from
Jul 23, 2016

Conversation

rwaldron
Copy link
Contributor

@rwaldron rwaldron commented Jul 21, 2016

This will make use of forwarded I2C options, eg.

  var a = new five.Servo({
    bus: 1,
    address: 0x40,
    controller: "PCA9685",
    pin: 0,
  });

Signed-off-by: Rick Waldron waldron.rick@gmail.com

This will make use of forwarded I2C options, eg.

  var a = new five.Servo({
    bus: 1,
    address: 0x40,
    controller: "PCA9685",
    pin: 0,
  });

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
@sandeepmistry sandeepmistry merged commit f81824c into sandeepmistry:master Jul 23, 2016
sandeepmistry added a commit that referenced this pull request Jul 23, 2016
Support user specified I2C bus. Fixes gh-11

Conflicts:
	lib/chip-io.js
@sandeepmistry
Copy link
Owner

@rwaldron thanks for submitting this!

I made a small change in 5bffc40 for Node.js v4 compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants